package com.quanyan.user.model.vo.request;

import com.quanyan.BaseRequest;

import java.io.Serializable;

/**
 * 用户注册请求对象
 * <p>
 * Created by huadongyang on 2016/11/14.
 */
public class ReqUserRegister extends BaseRequest implements Serializable {
    /**
     * 手机号
     */
    private String mobile;

    /**
     * 验证码
     */
    private String validCode;

    /**
     * 密码
     */
    private String password;

    /**
     *  1:iOS 2:Android 3:H5
     */
    private int source;

    /**
     * 版本渠道
     */
    private String appChannel;

    /**
     * 设备编码
     */
    private String imei;

    /**
     * 设备编号
     */
    private String devToken;

    /**
     * 推送ID
     */
    private String clientId;

    /**
     * 用户cookies
     */
    private String userCookiesName;

    /**
     * 设备类型：1：iOS；2：Android；3：H5
     */
    private int devType;

    /**
     * 广告id(只有ios存在)
     */
    private String idfa;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getValidCode() {
        return validCode;
    }

    public void setValidCode(String validCode) {
        this.validCode = validCode;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getSource() {
        return source;
    }

    public void setSource(int source) {
        this.source = source;
    }

    public String getAppChannel() {
        return appChannel;
    }

    public void setAppChannel(String appChannel) {
        this.appChannel = appChannel;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getDevToken() {
        return devToken;
    }

    public void setDevToken(String devToken) {
        this.devToken = devToken;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getUserCookiesName() {
        return userCookiesName;
    }

    public void setUserCookiesName(String userCookiesName) {
        this.userCookiesName = userCookiesName;
    }

    public int getDevType() {
        return devType;
    }

    public void setDevType(int devType) {
        this.devType = devType;
    }

    public String getIdfa() {
        return idfa;
    }

    public void setIdfa(String idfa) {
        this.idfa = idfa;
    }

    @Override
    public String toString() {
        return "ReqUserRegister{" +
                "mobile='" + mobile + '\'' +
                ", validCode='" + validCode + '\'' +
                ", password='" + password + '\'' +
                ", source=" + source +
                ", appChannel='" + appChannel + '\'' +
                ", imei='" + imei + '\'' +
                ", devToken='" + devToken + '\'' +
                ", clientId='" + clientId + '\'' +
                ", userCookiesName='" + userCookiesName + '\'' +
                ", devType=" + devType +
                ", idfa='" + idfa + '\'' +
                '}';
    }
}
